package com.ny.demo;

public class Student {
    public  String name;
    public  int age;
    public  String sex;
    public  int num;
    public  String clas;

    public  void  play(){
        System.out.println("一个学生在学习编程：姓名为"+name+",年龄为"+age+"," +
                "性别为"+sex+",学号为"+num+",是"+clas);
    }
}
